package cn.icanci.loopstack.bic.web.mapper;

import org.mapstruct.Mapper;
import org.mapstruct.NullValueMappingStrategy;

import cn.icanci.loopstack.bic.biz.mapper.convertor.NodeDataModeEnumConverter;
import cn.icanci.loopstack.bic.biz.mapper.convertor.NodeTypeEnumConverter;
import cn.icanci.loopstack.bic.common.model.graph.UnitViewVO;
import cn.icanci.loopstack.bic.web.model.UnitView;

/**
 * @author icanci
 * @since 1.0 Created in 2023/09/16 10:23
 */
@Mapper(componentModel = "spring", uses = { NodeDataModeEnumConverter.class, NodeTypeEnumConverter.class }, nullValueMappingStrategy = NullValueMappingStrategy.RETURN_NULL)
public interface UnitViewWebMapper extends BaseWebMapper<UnitView, UnitViewVO> {
}
